package com.sc.nft.entity.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

@Data
public class AddAppVersionDTO {

    @ApiModelProperty("app名称")
    private String name;

    @ApiModelProperty("苹果应用商城版本")
    private String appStoreVersion;

    @ApiModelProperty("版本名称")
    private String version;

    @ApiModelProperty("版本code")
    private Integer versionCode;

    @ApiModelProperty("类型 ios/Android")
    @NotBlank(message = "类型不能为空")
    private String type;

    @ApiModelProperty("版本介绍")
    private String appDesc;

    @ApiModelProperty("下载地址")
    private String downloadHref;

    @ApiModelProperty("TF(IOS) 下载地址")
    private String tfDownloadHref;

    @ApiModelProperty("是否强制更新")
    @NotBlank(message = "是否强制更新不能为空")
    private Integer isMust;

    @ApiModelProperty("文件大小")
    private String fileSize;

}
